﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C2D RID: 3117
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MuseumTargetRewardNotify : IMessage<MuseumTargetRewardNotify>, IMessage, IEquatable<MuseumTargetRewardNotify>, IDeepCloneable<MuseumTargetRewardNotify>, IBufferMessage
	{
		// Token: 0x17002747 RID: 10055
		// (get) Token: 0x06008B54 RID: 35668 RVA: 0x00172BD1 File Offset: 0x00170DD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MuseumTargetRewardNotify> Parser
		{
			get
			{
				return MuseumTargetRewardNotify._parser;
			}
		}

		// Token: 0x17002748 RID: 10056
		// (get) Token: 0x06008B55 RID: 35669 RVA: 0x00172BD8 File Offset: 0x00170DD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MuseumTargetRewardNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002749 RID: 10057
		// (get) Token: 0x06008B56 RID: 35670 RVA: 0x00172BEA File Offset: 0x00170DEA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MuseumTargetRewardNotify.Descriptor;
			}
		}

		// Token: 0x06008B57 RID: 35671 RVA: 0x00172BF1 File Offset: 0x00170DF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MuseumTargetRewardNotify()
		{
		}

		// Token: 0x06008B58 RID: 35672 RVA: 0x00172BF9 File Offset: 0x00170DF9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MuseumTargetRewardNotify(MuseumTargetRewardNotify other) : this()
		{
			this.itemCount_ = other.itemCount_;
			this.itemId_ = other.itemId_;
			this.gMOJJNBEIFL_ = other.gMOJJNBEIFL_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008B59 RID: 35673 RVA: 0x00172C36 File Offset: 0x00170E36
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MuseumTargetRewardNotify Clone()
		{
			return new MuseumTargetRewardNotify(this);
		}

		// Token: 0x1700274A RID: 10058
		// (get) Token: 0x06008B5A RID: 35674 RVA: 0x00172C3E File Offset: 0x00170E3E
		// (set) Token: 0x06008B5B RID: 35675 RVA: 0x00172C46 File Offset: 0x00170E46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ItemCount
		{
			get
			{
				return this.itemCount_;
			}
			set
			{
				this.itemCount_ = value;
			}
		}

		// Token: 0x1700274B RID: 10059
		// (get) Token: 0x06008B5C RID: 35676 RVA: 0x00172C4F File Offset: 0x00170E4F
		// (set) Token: 0x06008B5D RID: 35677 RVA: 0x00172C57 File Offset: 0x00170E57
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ItemId
		{
			get
			{
				return this.itemId_;
			}
			set
			{
				this.itemId_ = value;
			}
		}

		// Token: 0x1700274C RID: 10060
		// (get) Token: 0x06008B5E RID: 35678 RVA: 0x00172C60 File Offset: 0x00170E60
		// (set) Token: 0x06008B5F RID: 35679 RVA: 0x00172C68 File Offset: 0x00170E68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GMOJJNBEIFL
		{
			get
			{
				return this.gMOJJNBEIFL_;
			}
			set
			{
				this.gMOJJNBEIFL_ = value;
			}
		}

		// Token: 0x06008B60 RID: 35680 RVA: 0x00172C71 File Offset: 0x00170E71
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MuseumTargetRewardNotify);
		}

		// Token: 0x06008B61 RID: 35681 RVA: 0x00172C80 File Offset: 0x00170E80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MuseumTargetRewardNotify other)
		{
			return other != null && (other == this || (this.ItemCount == other.ItemCount && this.ItemId == other.ItemId && this.GMOJJNBEIFL == other.GMOJJNBEIFL && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008B62 RID: 35682 RVA: 0x00172CDC File Offset: 0x00170EDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ItemCount != 0U)
			{
				num ^= this.ItemCount.GetHashCode();
			}
			if (this.ItemId != 0U)
			{
				num ^= this.ItemId.GetHashCode();
			}
			if (this.GMOJJNBEIFL != 0U)
			{
				num ^= this.GMOJJNBEIFL.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008B63 RID: 35683 RVA: 0x00172D4D File Offset: 0x00170F4D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008B64 RID: 35684 RVA: 0x00172D55 File Offset: 0x00170F55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008B65 RID: 35685 RVA: 0x00172D60 File Offset: 0x00170F60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ItemId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.ItemId);
			}
			if (this.ItemCount != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.ItemCount);
			}
			if (this.GMOJJNBEIFL != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.GMOJJNBEIFL);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008B66 RID: 35686 RVA: 0x00172DD8 File Offset: 0x00170FD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ItemCount != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ItemCount);
			}
			if (this.ItemId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ItemId);
			}
			if (this.GMOJJNBEIFL != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GMOJJNBEIFL);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008B67 RID: 35687 RVA: 0x00172E48 File Offset: 0x00171048
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MuseumTargetRewardNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ItemCount != 0U)
			{
				this.ItemCount = other.ItemCount;
			}
			if (other.ItemId != 0U)
			{
				this.ItemId = other.ItemId;
			}
			if (other.GMOJJNBEIFL != 0U)
			{
				this.GMOJJNBEIFL = other.GMOJJNBEIFL;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008B68 RID: 35688 RVA: 0x00172EAC File Offset: 0x001710AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008B69 RID: 35689 RVA: 0x00172EB8 File Offset: 0x001710B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 32U)
					{
						if (num != 56U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.GMOJJNBEIFL = input.ReadUInt32();
						}
					}
					else
					{
						this.ItemCount = input.ReadUInt32();
					}
				}
				else
				{
					this.ItemId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400353F RID: 13631
		private static readonly MessageParser<MuseumTargetRewardNotify> _parser = new MessageParser<MuseumTargetRewardNotify>(() => new MuseumTargetRewardNotify());

		// Token: 0x04003540 RID: 13632
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003541 RID: 13633
		public const int ItemCountFieldNumber = 4;

		// Token: 0x04003542 RID: 13634
		private uint itemCount_;

		// Token: 0x04003543 RID: 13635
		public const int ItemIdFieldNumber = 3;

		// Token: 0x04003544 RID: 13636
		private uint itemId_;

		// Token: 0x04003545 RID: 13637
		public const int GMOJJNBEIFLFieldNumber = 7;

		// Token: 0x04003546 RID: 13638
		private uint gMOJJNBEIFL_;
	}
}
